package net.suncaper.demo;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.EnableAutoConfiguration;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cache.annotation.EnableCaching;

import java.io.IOException;

@MapperScan(value = "net.suncaper.demo.mapper")
@SpringBootApplication
@EnableCaching
public class DemoApplication {

	public static void main(String[] args) throws IOException {
		SpringApplication.run(DemoApplication.class, args);
		String url="http://localhost:8380/user/homepage";
		Runtime.getRuntime().exec("rundll32 url.dll,FileProtocolHandler "+url);
	}

}
